package com.xjscrm.console.service.common.user;

import com.xjscrm.common.entity.Merchant;
import com.xjscrm.common.entity.MerchatChildmerchatRelation;
import com.xjscrm.console.param.BaseDto;
import com.xjscrm.console.param.user.AppPwdDto;
import com.xjscrm.console.param.user.ChangeHeadImageDto;
import com.xjscrm.console.param.user.ChildMerchatDto;
import com.xjscrm.console.param.user.DeleMerchatChildmerchatRelationDto;
import com.xjscrm.console.vo.MerchantBaseInfoVo;

import java.util.HashMap;

public interface UserService {


    void getUserByPhone(String phone);

    void addMerchatChildmerchatRelation(ChildMerchatDto childMerchatDto);

    MerchatChildmerchatRelation getMerchatChildmerchatRelationByUserAccount(String userAccount);

    MerchantBaseInfoVo getMerchantBaseInfo(BaseDto baseDto);

    void changeMerchantHeadImage(ChangeHeadImageDto changeMHeadImageDto);

    void updateMerchatChildmerchatRelation(HashMap<String, Object> map);


    void BatchDeleMerchatChildmerchatRelation(DeleMerchatChildmerchatRelationDto deleMerchatChildmerchatRelationDto);


    Merchant getAppPwd(AppPwdDto appPwdDto);

    Merchant getById(BaseDto baseDto);

    Merchant getById(Long id);
}
